package com.xxc.exam.entity.dto

import com.xxc.common.anotation.POKO
import com.xxc.validate.group.CreateGroup
import com.xxc.validate.group.UpdateGroup
import java.math.BigInteger
import javax.validation.constraints.NotEmpty
import javax.validation.constraints.NotNull
import javax.validation.constraints.Size

@POKO
data class QuestionBatchDto (
        @NotNull
        @Size(groups = arrayOf(UpdateGroup::class),min = 1)
        var ids:Array<BigInteger>? = null,
        var category:BigInteger? = null,
        var level:Int? = null)